<%-- 
    Document   : Input
    Created on : 22.sep.2009, 19:36:13
    Author     : Administrator
--%>

<%@page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@taglib prefix="midnight" uri="/WEB-INF/tlds/midnight.tld"%>

<fmt:setBundle basename="com.midnightcookies.Midnight" var="bundle"
               scope="page"/>

<h3><fmt:message key="provide_input" bundle="${bundle}"/></h3>
<form method="POST" action="Output.jsp">
    <table>
        <tr>
            <td><fmt:message key="type_input" bundle="${bundle}"/>:</td>
            <%-- The value of the Input field will be placed in a
                  request parameter named "input" and it will be
                  passed to Output.jsp --%>
            <td><input type="text" size="20" name="input" value=""></td>
        </tr>
        <tr>
            <td><fmt:message key="submit" bundle="${bundle}"
                         var="buttonLabel" scope="page"/>
                <midnight:button/>
            </td>
            <td></td>
        </tr>
    </table>
</form>
